package com.example.modelsystem.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;


@Data
@Builder
@AllArgsConstructor
@ApiModel(value = "SysUserEntity", description = "用户实体类")
public class SysUserEntity {

    @ApiModelProperty(value = "用户Id", example = "1")
    private Integer id;
    @ApiModelProperty(value = "用户名称", example = "admin")
    private String username;
    @ApiModelProperty(value = "用户密码", hidden = true, example = "123456")
    private String password;
    @ApiModelProperty(value = "用户头像", example = "用户头像.pnd")
    private String icon;
    @ApiModelProperty(value = "用户邮箱", example = "admin@chat.com")
    private String email;
    @ApiModelProperty(value = "用户昵称", example = "超级管理员")
    private String nickName;
    @ApiModelProperty(value = "备注", example = "系统管理员")
    private String note;
    @ApiModelProperty(value = "帐号启用状态：0->禁用；1->启用", hidden = true, example = "1")
    private Integer status;
}
